package com.liuyang.demo.rt;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.endpoint.InvocationContext;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

@Service
public class PostStructureDemo {
    @Autowired
    PostStructureService postStructureService;

    @PostConstruct
    void init( ){
        System.out.println("init");
    }

    public void laugh(){
        System.out.println("ha ha ha !");
    }


}
